Automattic\WooCommerce\StoreApi\Routes\V1\Checkout B

Total Complexity 78
Dependencies 12
Dependents 1
Total lines 894
Lines of code 499
Logical lines of code 186
Comment lines 299
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
validate_callback()
B
32 20 105
update_customer_from_request()
A
44 8 49
get_response()
A
51 9 26
get_route_post_response()
S
42 4 61
get_request_payment_method()
S
50 6 28
should_create_customer_account()
S
60 5 15
get_args()
S
42 1 67
create_or_update_draft_order()
S
49 3 35
validate_user_can_place_order()
S
57 4 18
process_customer()
S
53 3 25
get_route_update_response()
S
58 2 17
update_customer_address_field()
S
63 3 10
get_route_error_response()
S
64 2 10
add_data_to_error_object()
S
66 2 8
get_route_error_response_from_object()
S
70 2 6
get_path_regex()
S
81 1 3
get_route_response()
S
65 1 10
requires_nonce()
S
80 1 3
get_path()
S
80 1 3